package com.magist.manage.copyrights.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
public class ContractRightsExportDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @Excel(name = "ID", orderNum = "1", width = 10)
    private String showId;
    @Excel(name = "授权号", orderNum = "1", width = 20)
    private String contractRightsNo;
    @Excel(name = "版权号", orderNum = "2", width = 20)
    private String copyrightsNo;
    @Excel(name = "出版社", orderNum = "3", width = 20)
    private String publishingName;
    @Excel(name = "作品名称", orderNum = "4", width = 20)
    private String worksName;
    @Excel(name = "合同编号", orderNum = "5", width = 20)
    private String contractNo;
    @Excel(name = "授权状态", replace = {"已生效_VALID","已失效_INVALID"}, orderNum = "6", width = 20)
    private String statis;
    @Excel(name = "到期状态", orderNum = "7", width = 20)
    private String expireStatus;
    @Excel(name = "开始时间",exportFormat = "yyyy-MM-dd", orderNum = "8", width = 20)
    private Date beginDate;
    @Excel(name = "终止时间",exportFormat = "yyyy-MM-dd",  orderNum = "9", width = 20)
    private Date endDate;
    @Excel(name = "合作形式", replace = {"买断_BUY","预付加分成_PrePayDivide","无预付纯分成_DIVIDE","复合结算_MixClear"}, orderNum = "10", width = 20)
    private String balanceType;
    @Excel(name = "独家授权", replace = {"是_T","否_F"}, orderNum = "11", width = 20)
    private String soleFlag;
    @Excel(name = "转授权", replace = {"有_T","无_F"}, orderNum = "12", width = 20)
    private String subRightsFlag;
    @Excel(name = "原始版权", replace = {"已提供_T","未提供_F"}, orderNum = "13", width = 20)
    private String originalCopyrightsFlag;
    @Excel(name = "操作人", orderNum = "13", width = 20)
    private String modifier;
    @Excel(name = "修改时间",exportFormat = "yyyy-MM-dd HH:mm:ss",orderNum = "14", width = 20)
    private Date modifyTime;

}